package com.longjianghuasheng.logistics.business.order.viewmodel

import androidx.lifecycle.MutableLiveData
import com.longjianghuasheng.logistics.base.BaseMultiStateViewModel
import com.longjianghuasheng.logistics.entity.OrderDetailResponse
import com.longjianghuasheng.logistics.network.apiService

class OrderDetailViewModel : BaseMultiStateViewModel() {


    var ewm = ""


    var type = 0

    var id = 0


    val result by lazy {
        MutableLiveData<OrderDetailResponse>()
    }


    fun order_show() {

        getData2({
            apiService.order_show(id)
        }, result)

    }


}